package com.krisyu.observerPattern.template;

/**
 * @DATE 2022/1/7
 * @Author KrisYu
 * @Description
 */
public class ConcreteSubject extends Subject {

    public void doSomething(){
        System.out.println("ConcreteSubject is doing something !");
        // 做完事情后，通知观察者。
        notifyObserver();
    }

}
